home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!news
- From: Henry Cross <hcross@ix.netcom.com>
- Newsgroups: comp.lang.c
- Subject: setvbuff() and MSDOS
- Date: Wed, 10 Apr 1996 19:39:43 -0700
- Organization: linuX.i586 @Irvine, Ca.
- Message-ID: <316C70EF.21179BA@ix.netcom.com>
- NNTP-Posting-Host: irv-ca5-05.ix.netcom.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-NETCOM-Date: Wed Apr 10 9:38:18 PM CDT 1996
- X-Mailer: Mozilla 2.0 (X11; I; Linux 1.2.13 i586)
-
- Hi,
- I'm programming in the 16-bit MSDOS enviroment and am wondering
- if anyone knows why setvbuf() would slow down a program reading
- data from a floppy. I get a read time of 48 seconds without
- setvbuf() and over 5 minutes with it! (I've tried 8192, 16384 & 32767)
- I'm using MSVC 1.5
-
- Any ideas?
-
- TIA,
- H.Cross
- hcross@ix.netcom.com
-